#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL;
namespace Cephei.QL.Experimental.Credit
{
    /// <summary> 
	/// ! Used to index market implied credit curve probabilities. It is a proxy to the defaultable bond or class of bonds which determines the credit contract conditions.  It aggregates the atomic default types in a group defining the contract conditions and which serves to index the probability curves calibrated to the market.
	/// </summary>
    [Guid ("2D2BE1E9-42DA-4286-9AF4-0323B9A74700"),ComVisible(true)]
	public interface IDefaultProbKey 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.ICurrency Currency {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Cephei.QL.Experimental.Credit.IDefaultType> EventTypes {get;}
        /// <summary> 
		/// 
		/// </summary>
		 QL.Experimental.Credit.SeniorityEnum Seniority {get;}
        /// <summary> 
		/// 
		/// </summary>
		 UInt64 Size {get;}
    }   

    /// <summary> 
	/// ! Used to index market implied credit curve probabilities. It is a proxy to the defaultable bond or class of bonds which determines the credit contract conditions.  It aggregates the atomic default types in a group defining the contract conditions and which serves to index the probability curves calibrated to the market. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IDefaultProbKey_Factory : INativeCollection_Factory<IDefaultProbKey>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary>
        /// Create a hybrid Vector of IDefaultProbKey, with event notification of changes
        /// </summary>
        /// <returns>a new Vector&ltIDefaultProbKey&gt</returns>
        IVector<IDefaultProbKey> CreateVector();
        /// <summary>
        /// Create a hybrid Vector of ICell of IDefaultProbKey, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIVector&ltI&ltIDefaultProbKey&gt&gt&gt</returns>
        ICoCell<IVector<ICoCell<IDefaultProbKey>>> CreateCellVector();
        IVector<IDefaultProbKey> CreateVector (IEnumerable<IDefaultProbKey> source);
        ICoCell<IVector<ICoCell<IDefaultProbKey>>> CreateCellVector (IEnumerable<ICoCell<IDefaultProbKey>> source);
        /// <summary> 
		/// 
		/// </summary>
	    IDefaultProbKey Create (Cephei.Core.IVector<Cephei.QL.Experimental.Credit.IDefaultType> eventTypes, Cephei.QL.ICurrency cur, QL.Experimental.Credit.SeniorityEnum sen);
        /// <summary> 
		/// 
		/// </summary>
	    IDefaultProbKey Create ();
    }
}

